<!-- SwitchDark 暗黑模式 -->
<template>
    <el-switch inline-prompt v-model="isDark" :active-icon="Sunny" :inactive-icon="Moon" />
</template>

<script setup lang="ts" name="SwitchDark">
import { Sunny, Moon } from "@element-plus/icons-vue"
import { useDark } from "@vueuse/core"
const isDark = useDark()
</script>

<style scoped lang="css"></style>
